import random


class GetData:
    # 随机生成 3位英文名字
    def member_name(self):
        name_list = "qwertyuiopasddfghjklzxcvbnm"
        name = ""
        for i in range(3):
            a = random.randint(0, 26)
            name += name_list[a]
        return name

    # 随机生成 以1开头的11位手机号
    def member_phone_number(self):
        phone_number = "1"
        for i in range(10):
            a = random.randint(0, 9)
            phone_number += f'{a}'
        return phone_number
